<?php
class SNK_Zend_Validate_Callback extends Zend_Validate_Abstract{
	protected $_messageTemplates = array( __CLASS__ => "" );
	protected $callback;
	public function __construct( $callback ){
		$this->callback = $callback;
	}
    public function isValid( $value ){
    	return $this->callback( $value );	
    }
}